package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "t_web_view",autoResultMap = true)
@Document(indexName = "t_web_view")
public class WebViewDO extends  BaseDO{
    @Field(name = "website_views", type = FieldType.Text, analyzer="ik_max_word")
    private Integer websiteViews;
}
